package com.zmn.plat.common.dto.product.tariff.item;

import com.zmn.plat.common.dto.product.tariff.base.BaseTariffProductDIO;
import lombok.Data;
import lombok.ToString;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

/**
 * @author tanbiao
 * @description：后台产品id查询故障项
 * @modifier
 * @since 2019/12/30 18:26
 **/
@Data
@Valid
@ToString(callSuper = true)
public class TariffBackProductItemCategDIO extends BaseTariffProductDIO {
    private static final long serialVersionUID = 8701599157885174873L;

    /**
     * 后台产品ID
     */
    @NotNull(message = "productId不能为空")
    @Positive(message = "productId必须为大于0的正整数")
    private Integer productId;

    /**
     * 计价器故障类型ID
     */
    @NotNull(message = "faultCategId不能为空")
    @Positive(message = "faultCategId必须为大于0的正整数")
    private Integer faultCategId;


    /**
     * 品牌ID
     */
    @Positive(message = "brandId必须为大于0正整数")
    private Integer brandId;

}

